package com.qijian.business.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * 工单关联派工单对象 查询条件类
 *
 * @author qijian
 * @date 2024-02-27
 */

@Data
@ToString
@TableName("work_order_pre_dispatch")
public class WorkOrderPreDispatchQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;

    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private List<Long> idList;
    @WhereType(filed = "dispatch_number")
    private String dispatchNumber;
    @WhereType(filed = "work_order_id")
    private Long workOrderId;
    @WhereType(filed = "dispatch_qty")
    private BigDecimal dispatchQty;
    @WhereType(filed = "supplier")
    private String supplier;
    @WhereType(filed = "is_dispatch")
    private Boolean isDispatch;
    @WhereType(filed = "is_close")
    private Boolean isClose;
    @WhereType(filed = "confirm_qty")
    private BigDecimal confirmQty;
    @WhereType(filed = "dispatch_time",type = WhereTypeEnum.BETWEEN)
    private Date[] dispatchTime;



}
